﻿@model Model.Object.HoaDon

@{
    ViewBag.Title = "Edit";
}


@using (Html.BeginForm()) {
  <div class="subhead-collapse collapse">
    <div class="subhead">
        <div class="container-fluid">

            <div class="row-fluid">
                <div class="span12">
                    <div class="btn-toolbar" id="toolbar">
                        <div class="btn-wrapper" id="toolbar-apply">
                            <button type="submit" class="btn btn-small btn-success" value="Save" name="Submit">
                                <span class="icon-apply icon-white"></span>
                                Save
                            </button>
                        </div>
                        <div class="btn-wrapper" id="toolbar-save">
                            <button type="submit" class="btn btn-small" value="SaveClose" name="Submit">
                                <span class="icon-save"></span>
                                Save &amp; Close
                            </button>
                        </div>
                        <div class="btn-wrapper" id="toolbar-save-new">
                            <button type ="submit" class="btn btn-small" value="SaveNew" name="Submit" class="btn btn-small">
                                <span class="icon-save-new"></span>
                                Save &amp; New
                                </button>
                        </div>
                        <div class="btn-wrapper" id="toolbar-cancel">
                            <a href="@Url.Action("Index")" class="btn btn-small">
                                <span class="icon-cancel"></span>
                                Cancel
                            </a>

                        </div>
                        <div class="btn-group divider"></div>
                        <div class="btn-wrapper" id="toolbar-help">
                            <button rel="help" class="btn btn-small">
                                <span class="icon-question-sign"></span>
                                Help
                            </button>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>
    <div class="container-fluid container-main">
        <section id="content">
            <!-- Begin Content -->

            <div class="row-fluid">
                <div id="system-message-container">
                </div>
                <div class="row-fluid">

                    @Html.ValidationSummary()
                    <fieldset>

					    @Html.AntiForgeryToken()

        @Html.HiddenFor(model => model.ID)

       <div class="control-group">
		<div class="control-label">
            @Html.LabelFor(model => model.Tong_tien)
        </div>
        <div class="controls">
            @Html.EditorFor(model => model.Tong_tien)
            @Html.ValidationMessageFor(model => model.Tong_tien)
        </div>
		</div>
       <div class="control-group">
		<div class="control-label">
            @Html.LabelFor(model => model.Phi_ship)
        </div>
        <div class="controls">
            @Html.EditorFor(model => model.Phi_ship)
            @Html.ValidationMessageFor(model => model.Phi_ship)
        </div>
		</div>
       <div class="control-group">
		<div class="control-label">
            @Html.LabelFor(model => model.Ngay_thang)
        </div>
        <div class="controls">
            @Html.EditorFor(model => model.Ngay_thang)
            @Html.ValidationMessageFor(model => model.Ngay_thang)
        </div>
		</div>
       <div class="control-group">
		<div class="control-label">
            @Html.LabelFor(model => model.Trang_thai)
        </div>
        <div class="controls">
            @Html.EditorFor(model => model.Trang_thai)
            @Html.ValidationMessageFor(model => model.Trang_thai)
        </div>
		</div>
       <div class="control-group">
		<div class="control-label">
            @Html.LabelFor(model => model.SDT_nhan)
        </div>
        <div class="controls">
            @Html.EditorFor(model => model.SDT_nhan)
            @Html.ValidationMessageFor(model => model.SDT_nhan)
        </div>
		</div>
       <div class="control-group">
		<div class="control-label">
            @Html.LabelFor(model => model.Dia_chi_nhan)
        </div>
        <div class="controls">
            @Html.EditorFor(model => model.Dia_chi_nhan)
            @Html.ValidationMessageFor(model => model.Dia_chi_nhan)
        </div>
		</div>
       <div class="control-group">
		<div class="control-label">
            @Html.LabelFor(model => model.Ho_ten_nhan)
        </div>
        <div class="controls">
            @Html.EditorFor(model => model.Ho_ten_nhan)
            @Html.ValidationMessageFor(model => model.Ho_ten_nhan)
        </div>
		</div>
       <div class="control-group">
		<div class="control-label">
            @Html.LabelFor(model => model.Ghi_chu)
        </div>
        <div class="controls">
            @Html.TextAreaFor(model => model.Ghi_chu)
            @Html.ValidationMessageFor(model => model.Ghi_chu)
        </div>
		</div>
       <div class="control-group">
		<div class="control-label">
            @Html.LabelFor(model => model.Email_nhan)
        </div>
        <div class="controls">
            @Html.EditorFor(model => model.Email_nhan)
            @Html.ValidationMessageFor(model => model.Email_nhan)
        </div>
		</div>
       <div class="control-group">
		<div class="control-label">
            @Html.LabelFor(model => model.ID_Nguoidung, "Nguoidung")
        </div>
        <div class="controls">
            @Html.DropDownList("ID_Nguoidung", String.Empty)
            @Html.ValidationMessageFor(model => model.ID_Nguoidung)
        </div>
		</div>
        </fieldset>	
    </div>

 </div>
            <!-- End Content -->
        </section>

    </div>
}


@section Scripts {
 @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/jqueryval")
	@System.Web.Optimization.Scripts.Render("~/ckeditor/ckeditor.js")
@System.Web.Optimization.Scripts.Render("~/ckeditor/config.js")
@System.Web.Optimization.Scripts.Render("~/ckfinder/ckfinder.js")
}
